package com.cabinet.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cabinet.service.ISellserOrderService;
import com.cabinet.service.dto.CommoditiesPageUtil;
import com.cabinet.service.dto.SellerOrderDto;
import com.cabinet.service.mybatis.IctOrderMapper;

@Service
public class SellserOrderService implements ISellserOrderService{
	
	@Autowired
	private IctOrderMapper ictOrderMapper;

	@Override
	public List<SellerOrderDto> getSellerOrderBySellerId(CommoditiesPageUtil c) {
		// TODO Auto-generated method stub
		return ictOrderMapper.selectSellerOrderBySellerId(c);
	}

	@Override
	public int getSellerOrderCountBySellerId(CommoditiesPageUtil c) {
		// TODO Auto-generated method stub
		return ictOrderMapper.getSellerOrderCountBySellerId(c);
	}

}
